package com.cms.service;



import java.util.List;

import com.cms.exception.SystemDBException;
import com.cms.model.TrBankAccount;
import com.cms.model.TrBankInfo;

public interface BankInfoService {

	 /***
	  * 新增银行账号信息
	  * @param info
	  * @throws SystemDBException
	  */
	 public void saveBankInfo(TrBankInfo info)throws SystemDBException;
	 
	 /***
	  * 修改银行账号信息
	  * @param info
	  * @throws SystemDBException
	  */
	 public void updateBankInfo(TrBankInfo info)throws SystemDBException;
	 
	 /**
	  * 
	  * @param info
	  * @return
	  * @throws SystemDBException
	  */
	 public TrBankInfo getBankInfo(TrBankInfo info);
	 
	  
	 
	 /***
	  *  保存银行账号信息
	  * @param account
	  * @throws SystemDBException
	  */
	 public void saveBankAccount(TrBankAccount account)throws SystemDBException;
	 
	 /***
	  *  修改银行账号信息
	  * @param account
	  * @throws SystemDBException
	  */
	 public void updateBankAccount(TrBankAccount account)throws SystemDBException;
	 
	 
	 /***
	  *  删除银行账号信息
	  * @param account
	  * @throws SystemDBException
	  */
	 public void changeBankAccountStatus(TrBankAccount account)throws SystemDBException;
	 
	 
	 /**
	  * 
	  * @param info
	  * @return
	  * @throws SystemDBException
	  */
	 public TrBankAccount getBankAccountInfo(TrBankAccount info);
	 
	 
	 /***
	  * 
	  * @return
	  */
	 public List<TrBankInfo>getBankInfoList();
}
